home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / docs / lists / DevGuide.lha / DevGuide / MyDevice.rexx < prev    next >
OS/2 REXX Batch file  |  1998-10-11  |  343b  |  14 lines

  1. /* Device Check on a selected volume
  2.    V2.0- 10/03/98 - © Age*/
  3.  
  4. if ~show('L',"rexxreqtools.library") then addlib('rexxreqtools.library',0,-30,0)
  5.  
  6. Volume = rtfilerequest(,,"Pick a Volume",,"rtfi_volumerequest=vreqf_noassigns")
  7. IF Volume = "" then do
  8.    address command '"SetEnv" dev='0
  9.    exit
  10. END
  11.  
  12. address command '"SetEnv" dev='Volume
  13. Exit
  14.